Ext.define('framenet.view.frameReport', {
	extend: 'Ext.window.Window',
	//filterItems: null,
	
	constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        
        me.callParent([Ext.apply({
    		title: 'Report',
    		modal: true,
    		autoShow: true,
    		layout: 'fit',
			items:[{
			    	   xtype: 'panel',
			    	   items: [cfg.filterItem,
						       {
					        	   xtype: 'button', 
				 	        	   text: 'Imrimir', 
				 	        	   style: 'float:right',
				 	        	   href: 'http://google.com',
				 	        	   params:{
				 	        	        indicator: 1
				 	        	    }
/*
				 	        	   handler: function() {				 	        		   
				 	        		  window.open("report.htm");
				 	        		  Ext.Ajax.request({
				 	        		        method: 'GET',
				 	        		        url: 'report.htm',
				 	        		        params: { className: 'ar.com.framenet.report.ProductosRubro', a: 0, b: 'abcdefg'},
				 	        		        success: function(result, request){
				          	        		   console.info(result);
				 	        		        }
				 	        		    });
				 	        	   }*/
						       }]
			       	}],
        }, cfg)]);
    }
});
